export default {
	namespaced:true,
	state:{
		baseMenu:[],
		menuType:[],
		menuList:[],
		billOption:[],
		shopOption:[],
		salesman:[],
		shop:[],
		refundBillList:[]

	},
	mutations:{
		setMenuType(state,menuType){
			state.menuType = menuType
		},
		setMenuList(state,menuList){
			state.menuList = menuList
		},
		setBaseMenuList(state,baseMenu){
			baseMenu.unshift({label:"根目录",value:0,type:0})
			state.baseMenu = baseMenu
			state.menuList = baseMenu
		},
		setBillOption(state,billOption){
			state.billOption = billOption
		},
		setShopOPtion(state,shopOptions){
			state.shopOption = shopOptions
		},
		setSalesman(state,salesman){
			state.salesman = salesman
		},
		setShop(state,shop){
			state.shop = shop
		},
		setRefundBillList(state,refundBillList){
			state.refundBillList = refundBillList
		}
	},
	actions:{
		// setBillOption(context,billOption){
		// 	context.commit("setBillOption",billOption)
		// }
	}
}